//
//  JddQueryWithdrawCashOperation.m
//  PlayBall
//
//  Created by My Mac JiangDuoDuo on 14-8-21.
//
//

#import "JddQueryWithdrawCashOperation.h"

@implementation JddQueryWithdrawCashOperation

- (void)main{
    JddNetDataCommunication *netDataCommunication = [[JddNetDataCommunication alloc] init];
    
    NSString *bodyString = [JddParameterBuilder queryWithdrawCashOperationOldPw:self.nnewPw];
    
    NSData *dataInitiatePlan = [netDataCommunication requestDataByPostBodyData:[bodyString dataUsingEncoding:NSUTF8StringEncoding]];
    
    [((NSObject*)self.delegate) performSelectorOnMainThread:@selector(WithdrawCashOperationResult:) withObject:dataInitiatePlan waitUntilDone:NO];
}

@end
